//
//  YSCartItemFrame.h
//  Yueshi
//
//  Created by Northwan on 15/7/27.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YSCartProduct.h"
#import "YSSupplier.h"

#define ICON_HEIGHT 80
#define NAME_FONT 14
#define NAME_COLOR HEXColor(@"#000000")
#define SUB_FONT  13
#define SUB_COLOR HEXColor(@"#9e9e9e")

#define NEWPRICE_FONT 12
#define OLDPRICE_FONT 15
#define OLDPRICE_COLOR HEXColor(@"#bdbdbd")

@interface YSCartItemFrame : NSObject

@property (assign, nonatomic) CGRect statusFrame;

@property (assign, nonatomic) CGRect coverStatusFrame;

@property (assign, nonatomic) CGRect iconFrame;

@property (assign, nonatomic) CGRect nameFrame;

@property (assign, nonatomic) CGRect colorFrame;

@property (assign, nonatomic) CGRect newPriceFrame;

@property (assign, nonatomic) CGRect oldPriceFrame;

@property (nonatomic, assign) CGFloat calcX;
@property (nonatomic, assign) CGFloat calcY;

@property (assign, nonatomic) CGRect promotionPriceFrame;
@property (assign, nonatomic) CGRect promotionTimeFrame;

@property (assign, nonatomic) CGRect presentFrame;

@property (assign, nonatomic) CGRect frame;

@property (assign, nonatomic) CGFloat cellHeight;

@property (strong, nonatomic) YSCartProduct *product;

@property (strong, nonatomic) YSSupplier *supplier;


@end
